package net.maku.association.convert;

import net.maku.association.entity.InterestAssociationCommunityEntity;
import net.maku.association.vo.InterestAssociationCommunityVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 协会社区
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-04-26
*/
@Mapper
public interface InterestAssociationCommunityConvert {
    InterestAssociationCommunityConvert INSTANCE = Mappers.getMapper(InterestAssociationCommunityConvert.class);

    InterestAssociationCommunityEntity convert(InterestAssociationCommunityVO vo);

    InterestAssociationCommunityVO convert(InterestAssociationCommunityEntity entity);

    List<InterestAssociationCommunityVO> convertList(List<InterestAssociationCommunityEntity> list);

}